#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2024/7/9 16:42
# @File    : test.py
# @Description : -i http://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn




import numpy as np
import pandas as pd

df = pd.DataFrame(np.random.randint(0,10, (4,5)))
print(df)

# 定义一段Python代码作为字符串
python_code = """
def say_hello(name):
    print(f"Hello, {name}!")
"""

# 执行这段代码
exec(python_code)

# 调用say_hello函数
say_hello("Alice")




if __name__ == '__main__':

    # globals()["a"] = "123"

    pass
